//
//  UILabel+NSMutableAttributedString.m
//  YeeShopProject
//
//  Created by CoderYee on 2017/3/21.
//  Copyright © 2017年 CoderYee. All rights reserved.
//

#import "UILabel+NSMutableAttributedString.h"

@implementation UILabel (NSMutableAttributedString)

+(NSMutableAttributedString*)addLineWithString:(NSString *)String{

    //中划线
    NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};
    NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:String attributes:attribtDic];
    
    return attribtStr;
}


@end
